package com.lyc.cart.bean;

/**
 * 购物车列表类
 */
public class CartItem {
    private String productName;//作者
   private String productImgurl;//图片
   private double price;//价格
   private  int buyNumbers;//购买数量
    private double discount;//折扣
    private int productId;//商品编号
    private int uid;//用户编号

    public String getProductImgurl() {
        return productImgurl;
    }

    public void setProductImgurl(String productImgurl) {
        this.productImgurl = productImgurl;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getBuyNumbers() {
        return buyNumbers;
    }

    public void setBuyNumbers(int buyNumbers) {
        this.buyNumbers = buyNumbers;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    @Override
    public String toString() {
        return "CartItem{" +
                "productName='" + productName + '\'' +
                ", productImgurl='" + productImgurl + '\'' +
                ", price=" + price +
                ", buyNumbers=" + buyNumbers +
                ", discount=" + discount +
                ", productId=" + productId +
                ", uid=" + uid +
                '}';
    }
}
